<?php
class ModelDesignLayout extends Model {	
	
				public function getLayout($route) {
					$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "layout_route WHERE '" . $this->db->escape($route) . "' LIKE CONCAT(route, '%') AND store_id = '" . (int)$this->config->get('config_store_id') . "' ORDER BY route ASC");
				
					if ($query->num_rows) {
						return $query->rows;
					} else {
						return 0;	
					}
				}
			








}
?>